import request from '@/utils/request';

// 获取登录用户所属航站
export async function getUserServiceCity() {
  return request('/luggage/pkgManage/getUserServiceCity', {
    method: 'get',
  });
}

// 速运行李分页
export async function expressTransportationPage(params) {
  return request('/luggage/expressTransportation/page', {
    method: 'get',
    params,
  });
}

// 获取航站下拉列表
export async function selectCityInfo(params) {
  return request('/luggage/h5/pkg/mobile/getSelectCityInfo', {
    method: 'get',
    params,
  })
}

// 速运行李删除
export async function expressTransportationDelete(data) {
  return request('/luggage/expressTransportation/delete', {
    method: 'post',
    data,
  })
}

// 速运行李导出
export async function expressTransportationExport(params) {
  return request('/luggage/expressTransportation/export', {
    method: 'get',
    responseType: "blob",
    params,
  })
}
